package com.wtwd.wtwddevice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wtwd.wtwddevice.model.entity.DeviceBloodOxygen;
import com.wtwd.wtwddevice.model.entity.DeviceBloodOxygenTotal;
import com.wtwd.wtwddevice.model.entity.DeviceBloodPressure;
import com.wtwd.wtwddevice.model.entity.DeviceBloodPressureTotal;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author mjy
 * @since 2024-05-29
 */
public interface IDeviceBloodPressureService extends IService<DeviceBloodPressure> {

    boolean insert(DeviceBloodPressure deviceBloodPressure);

    /**
     * 获取同步缓存之后的累加值
     * 第一版本测试直接查询数据库
     * <p>
     * deviceBloodPressure
     *
     * @return
     */
    DeviceBloodPressureTotal getSynchronizationCache(DeviceBloodPressure deviceBloodPressure);

}
